using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace CMS.Web.ListManager
{
    public partial class indexVBGQ : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            System.Web.UI.Control ctrl = null;
            String action = Request.QueryString.Get("action");
            if (action == null) action = "";
            switch (action.ToUpper())
            {
                case "ADD":
                    ctrl = this.LoadControl("AddVBGQ.ascx");
                    break;
                case "EDIT":
                    ctrl = this.LoadControl("EditVBGQ.ascx");
                    break;
                default:
                    ctrl = this.LoadControl("ListVBGQ.ascx");
                    break;
            }
            if (ctrl != null) plhContent.Controls.Add(ctrl);

        }
    }
}